package cn.hfatec.shms.web.yk.ykTjmx.dao;

import cn.hfatec.mybatis.mapper.SqlMapper;
import cn.hfatec.shms.web.yk.ykTjmx.model.YkTjmx;
import cn.hfatec.shms.web.yk.ykTjmx.model.YkTjmxParams;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("YkTjmxDao")
public interface YkTjmxDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryYkTjmx(@Param("params") YkTjmxParams params);

    public List queryYkTjmxA(@Param("params") YkTjmxParams params);

    /**
     *
     * 根据主键获取数据
     *
     */
    public YkTjmx getYkTjmxById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(YkTjmx ykTjmx);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    public YkTjmx hjYkTjmx(@Param("params") YkTjmxParams params);
    /**
     *
     * 更新数据
     *
     */
    public void update(YkTjmx ykTjmx);
}
